#include "FilterOutputStream.h"

using namespace yzrilyzr_array;
namespace yzrilyzr_io{
	FilterOutputStream::FilterOutputStream(OutputStream & s){
		this->output=&s;
	}
	FilterOutputStream::~FilterOutputStream(){}
	void FilterOutputStream::write(int32_t b){
		this->output->write(b);
	}
	void FilterOutputStream::write(const yzrilyzr_array::ByteArray & b){
		this->output->write(b);
	}
	void FilterOutputStream::write(const yzrilyzr_array::ByteArray & b, u_index off, u_index len){
		this->output->write(b, off, len);
	}
	void FilterOutputStream::flush(){
		this->output->flush();
	}
	void FilterOutputStream::close(){
		this->output->close();
	}
}